package cn.akwangl.design.pattern.structural.facade;

/**
 * 积分支付.
 *
 * @author youyongkun
 * @date 2021/11/25 11:13
 * @since 1.0
 */
public class PointsPaymentService {
    public boolean pay(PointsGift pointsGift) {
        //扣减积分
        System.out.println("支付" + pointsGift.getName() + " 积分成功");
        return true;
    }

}
